5
How do I put a picture on the control's background

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

4
How can I change the size of control's font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetFont()->PutSize(_variant_t(long(12)));
spScrollBar1->PutForeColor(RGB(255,0,0));
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb");

3
How do I change the control's font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetFont()->PutName(L"Tahoma");
spScrollBar1->PutForeColor(RGB(255,0,0));
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb");

2
How can I change the control's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutForeColor(RGB(255,0,0));
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb");

1
How can I change the control's background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutBackColor(RGB(0,255,0));
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);